package mest.entity;
        import java.io.Serializable;
        import java.util.Date;
        import lombok.Data;


        @Data
public class product_job implements Serializable {


        private Integer id;
        //存货档案的Id,一般为成品，半成品

        private Integer sfId;
        //存货档案的版本Id

        private Integer wfId;

        //物料id
         private Integer   bomId;
        //计划数量

        private Integer planNumber;
        //生产单的Id

        private Integer poId;
        //税率

        private Integer taxRate;
        //含税单价

        private Double unitprice;
        //含税金额，总价

        private Double totalprice;
        //作业的备注

        private String description;

        public Integer getPoId() {
                return poId;
        }

        public void setPoId(Integer poId) {
                this.poId = poId;
        }

        public Integer getId() {
                return id;
        }

        public void setId(Integer id) {
                this.id = id;
        }

        public Integer getSfId() {
                return sfId;
        }

                public void setSfId(Integer sfId) {
                        this.sfId = sfId;
                }

                public Integer getWfId() {
                        return wfId;
                }

                public void setWfId(Integer wfId) {
                        this.wfId = wfId;
                }

                public Integer getPlanNumber() {
                        return planNumber;
                }

                public void setPlanNumber(Integer planNumber) {
                        this.planNumber = planNumber;
                }

                public Integer getTaxRate() {
                        return taxRate;
                }

                public void setTaxRate(Integer taxRate) {
                        this.taxRate = taxRate;
                }

                public Double getUnitprice() {
                        return unitprice;
                }

                public void setUnitprice(Double unitprice) {
                        this.unitprice = unitprice;
                }

                public Double getTotalprice() {
                        return totalprice;
                }

                public void setTotalprice(Double totalprice) {
                        this.totalprice = totalprice;
                }

                public String getDescription() {
                        return description;
                }

                public void setDescription(String description) {
                        this.description = description;
                }

                @Override
                public String toString() {
                        return "product_job{" +
                                "id=" + id +
                                ", sfId=" + sfId +
                                ", wfId=" + wfId +
                                ", planNumber=" + planNumber +
                                ", poId=" + poId +
                                ", taxRate=" + taxRate +
                                ", unitprice=" + unitprice +
                                ", totalprice=" + totalprice +
                                ", description='" + description + '\'' +
                                '}';
                }
                //        // 模板引擎
//        public void setSfId(Integer sfId) {
//                this.sfId = this.getId();
//        }
//
//        public Integer getWfId() {
//                return wfId;
//        }
//
//        public void setWfId(Integer wfId) {
//                this.wfId = wfId;
//        }
//
//        public Integer getPlanNumber() {
//                return planNumber;
//        }
//
//        public void setPlanNumber(Integer planNumber) {
//                this.planNumber = planNumber;
//        }
//
//        public Integer getTaxRate() {
//                return taxRate;
//        }
//        // 模板引擎
//        public void setTaxRate(Integer taxRate) {
//                this.taxRate = 3;
//        }
//
//                public Double getUnitprice() {
//                        return unitprice;
//                }
//
//                public void setUnitprice(Double unitprice) {
//                        this.unitprice = unitprice;
//                }
//
//                public Double getTotalprice() {
//                        return totalprice;
//                }
//
//                public void setTotalprice(Double totalprice) {
//                        this.totalprice = totalprice;
//                }
//
//                public String getDescription() {
//                return description;
//        }
//
//        public void setDescription(String description) {
//                this.description = description;
//        }
//
//                @Override
//                public String toString() {
//                        return "product_job{" +
//                                "id=" + id +
//                                ", sfId=" + sfId +
//                                ", wfId=" + wfId +
//                                ", planNumber=" + planNumber +
//                                ", poId=" + poId +
//                                ", taxRate=" + taxRate +
//                                ", unitprice=" + unitprice +
//                                ", totalprice=" + totalprice +
//                                ", description='" + description + '\'' +
//                                '}';
//                }
        }